<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>ECharts</title>
    <style type="text/css">
        *{
            margin:0px;
            padding: 0px;
        }
        .header{
            width: 100%;
            height: 50px;
            line-height: 50px;
            background-color: #000000;
            position: relative;
        }
        .header .nav1 {
            position: absolute;
            left: 50%;
            margin-left: -300px;
        }
        .header .nav1 li{
            list-style: none;
            min-width: 20px;
            padding: 0px 20px;
            color: #ffffff;
            background-color: #000000;
            float: left;
            cursor: pointer;
        }
    </style>
    <div class="header">
        <ul class="nav1">
            <li><a href="/listPage">数据列表</a></li>
            <li><a href="/echarts">数据统计</a></li>
            <li><a href="/alarm">报警信息</a></li>
        </ul>
    </div>
    <!-- 引入 echarts.js -->
    <script src="/lib/jquery-1.7.2.min.js"></script>
    <script src="echarts.min.js"></script>

    <script src="js/echartsSelect.js"></script>
</head>
<body>
    <form>
        <label style="border:solid 1px #000000; width:50px;height:20px">能量计id：</label>
        <div id="divTitle" style="border:solid 1px #000000; width:84px;height:20px;"></div>
        <label style="border:solid 1px #000000; width:50px;height:20px">车id：
            <select id="cars" name="cars" onchange="changeTitle();">
                <option value="1">1</option>

            </select>
        </label>
    </form>
    <!--电压-->
    <div id="main" style=" position: absolute;  left: 160px; top: 60px;width: 500px;height:280px;"></div>
    <!--电流-->
    <div id="second" style=" position: absolute; left:670px; top:60px; width: 500px; height:280px;"></div>
    <!--瞬时功率-->
    <div id="third" style=" position: absolute; left: 160px; top:330px;width: 500px;height:280px;"></div>
    <!--能耗-->
    <div id="fourth" style=" position: absolute; left: 670px; top:330px;width: 500px;height:280px;"></div>
    <div id="energy" style=" position: absolute; left: 400px; top: 610px;width: 600px;height:280px;"></div>
</body>

<script src="js/echartsLoop.js"></script>

<script src="js/echartsFour.js"></script>

<script src="js/echartsPage.js"></script>
</html>
